
#ifndef _ALITTLE_COMMONENTITY_H_
#define _ALITTLE_COMMONENTITY_H_

namespace ALittle
{

class CommonEntity
{
public:
	CommonEntity();
	virtual ~CommonEntity();

public:
	virtual void Render();

public:
	virtual void SetVisible(bool visible);

public:
	virtual void SetTransX(float x);
	virtual void SetTransY(float y);
	virtual void SetTransZ(float z);
	virtual void SetScaleX(float x);
	virtual void SetScaleY(float y);
	virtual void SetScaleZ(float z);
	virtual void SetRotateX(float x);
	virtual void SetRotateY(float y);
	virtual void SetRotateZ(float z);

protected:
	virtual void Draw();

protected:
	float m_scale_x, m_scale_y, m_scale_z;
	float m_rotate_x, m_rotate_y, m_rotate_z;
	float m_trans_x, m_trans_y, m_trans_z;

protected:
	bool m_visible;
};

} // ALittle

#endif // _ALITTLE_COMMONENTITY_H_
